package file;

import java.io.File;

public class DeleteFileDemo {
    public static void main(String[] args) {
        File file = new File("test.txt");
        file.delete();
        System.out.println("删除成功");
    }
}
